ColibriWP\PageBuilder\PageBuilder D

Total Complexity 208
Dependencies 11
Dependents 20
Total lines 1,316
Lines of code 1,020
Logical lines of code 473
Comment lines 15
Methods 64
Properties 8

Methods 64

Method Rating Maintainability Complexity Lines of code
initCompanion()
C
27
18 155
applyOnPrimaryLanguage()
A
46 14 36
addAdminScripts()
A
34 4 183
shortcodeRefresh()
A
45 12 40
isFrontPage()
A
54 10 18
canShowDefaultEditor()
A
54 8 21
checkForThemePreviewdInCustomizer()
S
49 6 33
savePostAsDraft()
S
51 6 25
isWCPage()
S
56 6 20
canEditInCustomizer()
S
55 6 20
letToNum()
S
57 6 17
__construct()
S
50 5 30
isMaintainable()
S
60 6 13
maintainablePageEditor()
S
58 5 14
getTreeValueAt()
S
59 5 14
__createFrontPage()
S
46 3 43
restoreMetaFieldRevision()
S
60 4 13
saveMetaFieldRevision()
S
61 4 12
getCurrentPageId()
S
66 4 8
get_page_link()
S
59 3 14
addGoogleFonts()
S
61 3 12
load()
S
61 3 12
checkNotifications()
S
63 3 12
loadFile()
S
64 3 10
createFrontPage()
S
68 3 7
openPageInCustomizer()
S
59 2 14
rootURL()
S
60 2 13
getFrontPage()
S
60 2 13
filterDefault()
S
61 2 12
isProtectedMeta()
S
63 2 11
addEditInCustomizer()
S
64 2 11
prefixedMod()
S
71 2 5
theme()
S
71 2 6
addMaintainableMetaToRevision()
S
65 2 8
wpEditorSettings()
S
71 2 6
showRichTextEditor()
S
69 2 7
openPageInDefaultEditor()
S
66 2 8
addEditInCustomizerPageButtons()
S
68 2 7
rootPath()
S
71 2 6
getThemeSlug()
S
69 2 7
getVersion()
S
72 2 6
loadJSON()
S
68 2 7
filterArrayDefaults()
S
70 2 6
restoreFrontPage()
S
70 2 6
isCurrentThemeSupported()
S
79 1 3
isMultipage()
S
82 1 3
assetsRootURL()
S
80 1 3
themeDataPath()
S
79 1 3
utilsPath()
S
79 1 3
isPRO()
S
71 1 5
instance()
S
80 1 3
getMaintainableMetaKeys()
S
76 1 4
customizer()
S
82 1 3
assetsRootPath()
S
80 1 3
getMaintainableKeysLabelPair()
S
67 1 7
replaceEditor()
S
80 1 3
fileExists()
S
75 1 4
getRevisionsMetaKeys()
S
69 1 7
registerActivationHooks()
S
66 1 9
loadMaintainablePageAssets()
S
79 1 3
loadJSONFile()
S
80 1 3
dataURL()
S
79 1 3
themeDataURL()
S
79 1 3
getMetaFieldRevision()
S
75 1 4